<?php
   
	$user = $controller->getCurrentUser();
	//on verifie les permissions
	if ($user->isAllowedTo(GRADE_MOD_BOOK))
	{
		$listeSeries = serie::getList();
		$listeAuthors = author::getList();
		$listePublishers = publisher::getList();
		
		$controller->setVar('listeSeries',$listeSeries);
		$controller->setVar('listeAuthors',$listeAuthors);
		$controller->setVar('listePublishers',$listePublishers);
		
		$controller->render('manageAuthorsSeries');
	}
	else
		$controller->render('errorRights');
   
   
?>
